<template>
    <uni-forms ref="footForm" :modelValue="footFormData">
        <view class="form-title">足部</view>
        <view class="form-item ">
            <uni-forms-item>
                <uni-data-checkbox mode="tag" 
                    multiple
                    class="row-3"
                    v-model="footFormData.zubu" 
                    :localdata="zbOption"></uni-data-checkbox>
            </uni-forms-item>
        </view>
        <view class="form-title">足趾</view>
        <view class="form-item ">
            <uni-forms-item>
                <uni-data-checkbox mode="tag" 
                    multiple
                    class="row-3"
                    v-model="footFormData.zuzhi" 
                    :localdata="zzOption"></uni-data-checkbox>
            </uni-forms-item>
        </view>
        <view class="form-title">站立足</view>
        <view class="form-item ">
            <uni-forms-item>
                <uni-data-checkbox mode="tag" 
                    class="row-3"
                    v-model="footFormData.zhanlizu" 
                    :localdata="zlzOption"></uni-data-checkbox>
            </uni-forms-item>
        </view>
        <view class="form-item">
            <uni-forms-item label="其他" :label-width="50">
                <uni-easyinput v-model="footFormData.footRemark" placeholder="其他" />
            </uni-forms-item>
        </view>
        <view class="form-title">筛查建议</view>
        <view class="form-item ">
            <uni-forms-item>
                <uni-data-checkbox mode="tag" 
                    v-model="footFormData.advise" 
                    :localdata="adviseOption"></uni-data-checkbox>
            </uni-forms-item>
        </view>
    </uni-forms>
</template>

<script>
    export default {
        data() {
            return {
                footFormData: {
                    zubu: [1,2],
                    zuzhi: [1],
                    zhanlizu: 1,
                    footRemark: ''
                },
                zbOption: [
                    {text: '外翻平足', value: 1},
                    {text: '扁平足', value: 2},
                    {text: '足内翻', value: 3},
                    {text: '高弓足', value: 4},
                    {text: '扇形足', value: 5},
                    {text: '脚尖内收', value: 6},
                    {text: '脚尖外展', value: 7}
                ],
                zzOption: [
                    {text: '拇外翻', value: 1},
                    {text: '拇内翻', value: 2},
                    {text: '屈趾', value: 3},
                    {text: '仰趾', value: 4},
                    {text: '足跖屈', value: 5},
                    {text: '足背屈', value: 6},
                ],
                zlzOption: [
                    {text: '正常', value: 1},
                    {text: '外八字', value: 2},
                    {text: '内八字', value: 3}
                ],
                adviseOption: [
                    {text: '继续保持', value: 1},
                    {text: '医院检查', value: 2},
                ]
            }
        },
        methods: {
            
        }
    }
</script>

<style lang="less">
    @import url("../screen.less");
</style>